package com.prs.crm.domain.cdxh.production;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-3 上午09:49:31 简单说明:班次规则制度
 */
@Entity
@Table(name = "cdxh_provideregime")
public class ProvideRegime extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 所属生产类型
	 */
	private String productStyle;
	/**
	 * 机号
	 */
	private String machineNums;
	/**
	 * 班次
	 */
	private String classNums;

	/**
	 * 所属生产记号和班次 id值
	 */
	private String machineClassId;

	/**
	 * 记账类型
	 */
	private String recodeStyle;
	/**
	 * 规定数量
	 */

	private int setNum;

	/**
	 * 奖励单价
	 */
	private Double rewardPrice;
	/**
	 * 惩罚单价
	 */
	private Double punishPrice;

	@Column(columnDefinition = "Integer(11) default '0'")
	private int judProduct;
	/**
	 * 选择显示状态值
	 * 
	 * @return
	 */
	private String inserValue;

	/**
	 * 区别于其他的值
	 *  xx-xx格式
	 * @return
	 */
	private String discriminationValue;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProductStyle() {
		return productStyle;
	}

	public void setProductStyle(String productStyle) {
		this.productStyle = productStyle;
	}

	public String getMachineClassId() {
		return machineClassId;
	}

	public void setMachineClassId(String machineClassId) {
		this.machineClassId = machineClassId;
	}

	public String getRecodeStyle() {
		return recodeStyle;
	}

	public void setRecodeStyle(String recodeStyle) {
		this.recodeStyle = recodeStyle;
	}

	public Double getRewardPrice() {
		return rewardPrice;
	}

	public void setRewardPrice(Double rewardPrice) {
		this.rewardPrice = rewardPrice;
	}

	public Double getPunishPrice() {
		return punishPrice;
	}

	public void setPunishPrice(Double punishPrice) {
		this.punishPrice = punishPrice;
	}

	public int getSetNum() {
		return setNum;
	}

	public void setSetNum(int setNum) {
		this.setNum = setNum;
	}

	public String getMachineNums() {
		return machineNums;
	}

	public void setMachineNums(String machineNums) {
		this.machineNums = machineNums;
	}

	public String getClassNums() {
		return classNums;
	}

	public void setClassNums(String classNums) {
		this.classNums = classNums;
	}

	public int getJudProduct() {
		return judProduct;
	}

	public void setJudProduct(int judProduct) {
		this.judProduct = judProduct;
	}

	public String getInserValue() {
		return inserValue;
	}

	public void setInserValue(String inserValue) {
		this.inserValue = inserValue;
	}

	public String getDiscriminationValue() {
		return discriminationValue;
	}

	public void setDiscriminationValue(String discriminationValue) {
		this.discriminationValue = discriminationValue;
	}

}
